package com.xbongbong.service.impl;
import com.xbongbong.dao.ProjectDao;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.service.ProjectService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 描述信息
 *
 * @ClassName ProjectServiceImpl
 * @Author 梁鲁江
 * 创建时间 2022/6/16 14:03
 * 修改时间  2022/6/16 14:03
 **/
@Service("projectService")
public class ProjectServiceImpl implements ProjectService {
    @Resource
    private ProjectDao projectDao;
//    @DataSource(DataSourceNames.DOLPHIN_MYSQL_DATA)
    @Override
    public Long queryCodeByName(String projectName) throws XbbException {
        return projectDao.queryCodeByName(projectName);
    }
}
